package com.nginx.web.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lyc
 * @since 2025-01-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("conf_info")
@ApiModel(value="ConfInfo对象", description="")
public class ConfInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Integer id;

    @TableField("name")
    private String name;

    @TableField("path")
    private String path;

    @TableField("text")
    private String text;

    @TableField("sort")
    private Integer sort;

    @TableField(exist = false)
    @JsonIgnore
    private List<HttpInfo> httpInfoList;

    @TableField(exist = false)
    @JsonIgnore
    private List<ServerInfo> serverInfoList;

    @TableField(exist = false)
    private Boolean hasHttp = false;

}
